package com.bawei.domain.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

@Data
public class DocInfoReq implements Serializable {

    private String indexName;

    private List<Map<String, Object>> datas;

    @ApiModelProperty(value = "是否需要指定文档id")
    private boolean isNeedId = false;


    @ApiModelProperty(value = "文档Id对应字段")
    private String idField;

}
